home *** CD-ROM | disk | FTP | other *** search
- %
- % button9001.ps - A GNU Button Program
- %
- % This program may be freely redistributed under the terms of the GNU
- % General Public License.
- %
- % Copyright 1990 Free Software Foundation
- %
- % This GNU Button program is distributed in the hope that it will be
- % useful, but WITHOUT ANY WARRANTY. No author or distributor accepts
- % responsibility to anyone for the consequences of using it or for
- % whether it serves any particular purpose or works at all, unless he
- % says so in writing. Refer to the GNU General Public License for
- % full details.
- %
- % Everyone is granted permission to copy, modify and redistribute this
- % GNU Button Program, but only under the conditions described in the
- % GNU General Public License. A copy of this license is supposed to
- % have been given to you along with this GNU Button Program so you can
- % know your rights and responsibilities. It should be in a file named
- % COPYING. Among other things, the copyright notice and this notice
- % must be preserved on all copies.
- %
- % Hard copies of this button were first distributed at the June 1990
- % Baltimore Usenix. They had black lettering on a green background on
- % a standard 2 1/4" safety pin button. They were designed by Leonard
- % H. Tower Jr. who is also the author of this GNU Button Program.
- %
- % Report bugs or improvements to: tower@prep.ai.mit.edu
- %
- % Hard copies of this button are probably still available. To get a
- % button, one must have either donated source code or documentation to
- % the GNU Project or make a donation of at least $ 2.00 for each
- % button.
- %
- % If you wish a hard copy of a gnu button send:
- % - a self-addressed, stamped envelope; and
- % - either:
- % - a reminder of your source or documentation contribution; or
- % - a donation payable to the "Free Software Foundation"; and
- % - specify how many each of these different versions you wish:
- % Feb 88 (white GNU) Jun 88 (yellow GNU)
- % Jan 89 (blue GNUer) Jun 89 (green GNUist)
- % Jan 90 (yellow thanx GNU)
- % to: L. Tower Jr.
- % 36 Porter Street,
- % Somerville, MA 02143, USA
- %
- % This program is available for anonymous ftp
- % prep.ai.mit.edu:/u2/emacs/button.N.MM.shar. It is probably
- % available in other source archives.
-
- % Uses {in,out}sidecircletext routines from Adobe Cookbook.
- .so circtext.ps
-
- % center button on 8 1/2" x 11" page
- 306 396 translate
-
- % This is a kludge to give better edge resolution.
- % Note that postscript's scale command doesn't cut it.
- % It scales after the edges are set.
- % biggg is set to 2,3,4 or 3.9 to make a master that is that much larger.
- % The master is reduced that much by the button manufacturer.
- % If only 1200 dpi postscript printers were more common ...
- /biggg 1 def
-
- /radius 82 biggg mul def
-
- % useful for centering things
- /circleguide {
- gsave
- .5 setlinewidth
- newpath
- 0 0 radius 0 360 arc
- stroke
- grestore
- } def
-
- %circleguide
-
- gsave
- /ertext (thanx) def
- /gnutext (GNU) def
- /gnusize 48 biggg mul def
- /ersize gnusize 4 div def
- /Times-Bold findfont ersize scalefont setfont
- /erwidth ertext stringwidth pop def
- erwidth 2 div 1 biggg mul sub neg
- ersize 2.2 mul moveto
- ertext show
- grestore
- gsave
- /Times-Bold findfont gnusize scalefont setfont
- /gnuwidth gnutext stringwidth pop def
- gnuwidth 2 div neg
- gnusize 4 div neg moveto
- gnutext show
- grestore
- /Times-Bold findfont 14 biggg mul scalefont setfont
- (GNU's Not Unix)
- 14 biggg mul 90 53 biggg mul outsidecircletext
- /Times-Roman findfont 7.5 biggg mul scalefont setfont
- (Copyright 1990 Free Software Foundation)
- 7.5 biggg mul 90 69 biggg mul outsidecircletext
- (Anonymous ftp this button's postscript)
- 7.5 biggg mul 270 55 biggg mul insidecircletext
- (program from prep.ai.mit.edu:/u/emacs/button.N.MM.shar)
- 7.5 biggg mul 270 64 biggg mul insidecircletext
- (This button design may be freely redistributed under the terms of the GNU General Public License.)
- 7.5 biggg mul 270 73 biggg mul insidecircletext
- showpage
-